package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Clazz;
import com.itheima.pojo.PageResult;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.RequestParam;

import java.time.LocalDate;

public interface ClazzService extends IService<Clazz> {

    //分页查询
    PageResult<Clazz> pagelist(String name,
                               LocalDate begin,
                               LocalDate end,
                               int page,
                               int pageSize);


    Clazz getListById(Integer id);
}
